﻿using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Domain.Interface
{
    /// <summary>
    /// 羊只转舍仓储接口
    /// </summary>
    public interface ISheepRescissionRepository
    {
        /// <summary>
        /// 获取羊只转舍列表
        /// </summary>
        /// <returns></returns>
        Task<List<Sheeprescission>> GetSheepRescission();
        /// <summary>
        /// 新增羊只转舍
        /// </summary>
        /// <param name="sheeprescission">羊只转舍实体</param>
        /// <returns></returns>
        Task<int> AddSheepRescission(List<Sheeprescission> sheeprescission);
        /// <summary>
        /// 删除羊只转舍
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<int> DelSheepRescission(int userId, params int[] ids);
    }
}
